package service;

import dao.PlayerDao;
import entity.Equip;
import entity.Player;
import jakarta.annotation.Resource;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("playerService")
public class PlayerServiceimpl implements PlayerService{
    @Resource
    PlayerDao playerDao;

    @Override
    public Player insert(Equip equip) {
        return playerDao.insert(equip);
    }
}
